<? if(!defined('IN_DISCUZ')) exit('Access Denied'); 
0
|| checktplrefresh('D:\wamp\www\storm\bbs\././templates/default/pay.htm', 'D:\wamp\www\storm\bbs\././templates/default/header_nofloat.htm', 1252943882, '1', './templates/default')
|| checktplrefresh('D:\wamp\www\storm\bbs\././templates/default/pay.htm', 'D:\wamp\www\storm\bbs\././templates/default/footer_nofloat.htm', 1252943882, '1', './templates/default')
;?>
<? include template('header'); if(empty($infloat)) { ?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_float.css?<?=VERHASH?>" />

<style type="text/css">
.main { *overflow: hidden; }
.content { margin: 5px; min-height: 400px; <?=FLOATBGCODE?>; }
* html .content { height: 400px; overflow: auto; }
.fixedbtn { position: static; }
</style>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> <?=$navigation?></div>
<div id="wrap" class="wrap s_clear">

<div class="main"><div class="content"><div class="nojs">

<div id="floatwinnojs"><? } ?>

<div class="float">
<div class="floatbox">
<h3 class="float_ctrl">
<em id="return_<?=$handlekey?>">购买主题</em>
<span>
<? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="floatwin('close_<?=$handlekey?>')" title="关闭">关闭</a><? } ?>
</span>
</h3>
<form id="payform" method="post" action="misc.php?action=pay&amp;paysubmit=yes&amp;infloat=yes" onsubmit="ajaxpost('payform', 'return_<?=$handlekey?>', 'return_<?=$handlekey?>', 'onerror');return false;">
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<? if(!empty($infloat)) { ?><input type="hidden" name="handlekey" value="<?=$handlekey?>" /><? } ?>
<table class="list" cellspacing="0" cellpadding="0">
<tr>
<th>作者:</th>
<td><a href="space.php?uid=<?=$thread['authorid']?>" target="_blank"><?=$thread['author']?></a></td>
</tr>
<tr>
<th valign="top">售价(<?=$extcredits[$creditstransextra['1']]['title']?>):</th>
<td><?=$thread['price']?> <?=$extcredits[$creditstransextra['1']]['unit']?></td>
</tr>
<tr>
<th valign="top">作者所得(<?=$extcredits[$creditstransextra['1']]['title']?>):</th>
<td><?=$thread['netprice']?> <?=$extcredits[$creditstransextra['1']]['unit']?></td>
</tr>
<tr>
<th valign="top">购买后余额(<?=$extcredits[$creditstransextra['1']]['title']?>):</th>
<td><?=$balance?> <?=$extcredits[$creditstransextra['1']]['unit']?></td>
</tr>
<tr class="btns">
<th>&nbsp;</th>
<td>
<input type="hidden" name="tid" value="<?=$tid?>" />
<button class="submit" type="submit" name="paysubmit" value="true">提交</button>
</td>
</tr>
</table>
</form>
</div>
</div>

<? if(!empty($infloat)) { ?>
<script type="text/javascript" reload="1">
function submithandle_<?=$handlekey?>(locationhref) {
ajaxget('viewthread.php?tid=<?=$tid?>&viewpid=<?=$pid?>', 'post_<?=$pid?>');
floatwinreset = 1;
floatwin('close_<?=$handlekey?>');
}
</script>
<? } if(empty($infloat)) { ?></div>

</div></div></div>

</div><? } include template('footer'); ?>
